package com.cg.service.impl;

import com.cg.entity.Nation;
import com.cg.dao.NationMapper;
import com.cg.service.NationService;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;

/**
 * (Nation)表服务实现类
 *
 * @author chengong
 * @since 2024-01-03 16:54:59
 */
@Service("nationService")
public class NationServiceImpl implements NationService {
    @Resource
    private NationMapper nationMapper;


    /**
     * 查询所有民族
     */
    @Override
    public List<Nation> queryNationList() {
        return nationMapper.queryNationList();
    }
}
